package com.zs.mp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zs.mp.model.User;
import com.zs.mp.model.UserDTO;
import com.zs.mp.model.vo.UserVO;

public interface IUserMapper extends BaseMapper<User> {
	// Constants.WRAPPER
	User getUserById(@Param(Constants.WRAPPER) LambdaQueryWrapper<User> lqw);
	
//	List<User> listUserByCondition(@Param(Constants.WRAPPER) QueryWrapper<UserDTO> qw);
	
	List<User> listUserByCondition(@Param(Constants.WRAPPER)LambdaQueryWrapper<UserDTO> lqw);
}
